/***
 * @Author: Xavier 1305433186@qq.com
 * @Date: 2024-07-29 16:03:00
 * @LastEditors: Xavier 1305433186@qq.com
 * @LastEditTime: 2024-08-02 10:16:51
 * @FilePath: \JS32T031_SDK\User\board\driver_board_uart.h
 * @Description:
 * @
 * @STAYTRUE (c) 2024 by ${Xavier}, All Rights Reserved.
 */

#ifndef _DRIVER_BOARD_UART_H_
#define _DRIVER_BOARD_UART_H_

#define UART_BUF_LEN 60

void driver_board_uart_init(void);
void uart_rx_irq_handle(void);
/*
 * 串口发送
 */
void driver_board_uart_send(unsigned char *pBuff, unsigned int len);

bool rx_finish_get(void);
void rx_finish_clr(void);
u8 rx_buf_get(u8 *data_str);
#endif
